home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000034_news@newsmaster….columbia.edu _Fri Jan 2 13:19:28 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
7KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA10003
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 2 Jan 1998 13:19:28 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA25432
for kermit.misc@watsun; Fri, 2 Jan 1998 13:19:27 -0500 (EST)
Path: news.columbia.edu!panix!howland.erols.net!newsfeed.internetmci.com!152.163.199.19!portc03.blue.aol.com!audrey02.news.aol.com!not-for-mail
From: poole22@aol.com (Poole22)
Newsgroups: comp.protocols.kermit.misc
Subject: Trying to speed up file transfer
Date: 2 Jan 1998 18:13:50 GMT
Lines: 144
Message-ID: <19980102181301.NAA19057@ladder02.news.aol.com>
NNTP-Posting-Host: ladder02.news.aol.com
X-Admin: news@aol.com
Organization: AOL, http://www.aol.co.uk
Xref: news.columbia.edu comp.protocols.kermit.misc:8200
Find below the kermit script I'm using and the statistics/status output of the
kermit session. I am negotiating with the remote host kermit administrators to
run a CAUTIOUS kermit command rather than leave their kermit settings as
default. They supply many financial institutions with data but say kermit is
slow and do not encourage its use (I am debating this point with them!). When
receiving data I though I could set the receive packet size on the local host
without any changes on the remote host. This example below didn't seem to work
since it sent the same number of packets (520) and actually took longer.
520*1000 bytes is more than 10 times the file size of 40139 bytes.
KERMIT SCRIPT
define error {
echo ERROR: \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9
statistics ; output kermit transmission statistics
quit 1
}
;------------------------------------------------------
; KERMIT GENERAL SETUP
;------------------------------------------------------
set modem type usrobotics ; modem type, e.g. US ROBOTICS
set speed 38400 ; modem speed, e.g. 9600 bits per sec
set line /dev/tty1 ; serial line device name
set dial method tone ; TONE phone (as opposed to PULSE)
set parity none ; no parity, 8th bit is ignored
set delay 30 ; time allowed to switch from server/client
set dial timeout 30 ; time allowed for modem connection
set handshake none ; no handshaking (xon causes failure)
set flow auto ; Automatic choice of flow control
set file type text ; all files transferred are of type TEXT
set exit warning off ; stop requirment for stdin when exiting
set receive packet 1000 ; pack size from receviced files only
set window 4 ; Not currently set at the ISMA end.
;------------------------------------------------------
; DIAL phone number
;------------------------------------------------------
dial XXXXXXXXXXX
if fail error (001) DIAL FAILED
;------------------------------------------------------
; LOGIN: enter username and password to VMS
;------------------------------------------------------
input 10 Username: ; wait upto 10 seconds for VMS Username prompt
if fail error (002) No username prompt
output XXXXXXXX\13
input 10 Password: ; wait upto 10 seconds for VMS Password prompt
if fail error (003) No password prompt
output XXXXXXXX\13
;------------------------------------------------------
; TRANSFER FILE TO/FROM (UNIX) FROM/TO (VMS)
;------------------------------------------------------
show protocol ; for information only
input 10 RUFAS>
if fail error (006) No RUFAS prompt
output RECEIVE PRITST\13 ; remote VMS/RUFAS command
receive ./kisma.48317.dat ; local Unix kermit command
if fail error (007) FILE TRANSFER FAILURE
;------------------------------------------------------
; TIDYUP and quit
;------------------------------------------------------
input 10 RUFAS> ; wait 10 seconds for RUFAS prompt
if fail echo WARNING (008) No RUFAS prompt
else output EXIT\13
echo KERMIT SCRIPT COMPLETED OK
statistics ; SUCCESS - output kermit transmission statistics
quit ; quit out of kermit session
KERMIT CONNECTION OUTPUT
kermit> ISMA02 - Vax 4000-400
kermit>
kermit> Username: RMT124
kermit> Password: >>RUFAS>
kermit> A>201, RECEIVE PRITST COMPLETED
kermit> RUFAS>Executing /home/gpo/.kermrc for UNIX...
kermit> Dial directory is /home/gpo/.kdd
kermit> Executing /home/gpo/.mykermrc...
kermit>
kermit> Lookup: skipped
kermit>
kermit> Protocol: Kermit
kermit>
kermit> Protocol Parameters: Send Receive
kermit> Timeout (used= 8): 8 15 Server Timeout: 0
kermit> Padding: 0 0 Block Check: 3
kermit> Pad Character: 0 0 Delay: 30
kermit> Packet Start: 1 1 Max Retries: 10
kermit> Packet End: 13 13
kermit> Packet Length: 90 1000
kermit> Maximum Length: 9024 9024 Window Size: 4
set, 0 used
kermit> Buffer Size: 9065 9065 Locking-Shift:
enabled, not used
kermit>
kermit> Packet timeouts: dynamic 1:0
kermit> Auto-upload command (binary): kermit -ir
kermit> Auto-upload command (text): kermit -r
kermit> Transfer character-set: transparent
kermit> Transfer mode: automatic
kermit> Transfer slow-start: on
kermit> Attributes: on
kermit>
kermit> Cancellation: on 3 3
kermit> Send / Receive Pause: 0 (msec)
kermit>
kermit> KERMIT SCRIPT COMPLETED OK
kermit>
kermit> Most recent transaction --
kermit> files transferred : 1
kermit> files not transferred : 0
kermit> characters last file : 40139
kermit> total file characters : 40139
kermit> communication line in : 42300
kermit> communication line out : 4175
kermit> packets sent : 520
kermit> packets received : 520
kermit> damaged packets rec'd : 0
kermit> timeouts : 0
kermit> retransmissions : 0
kermit> parity : none
kermit> control characters : 902 prefixed, 0 unprefixed
kermit> 8th bit prefixing : no
kermit> locking shifts : no
kermit> window slots used : 1 of 4
kermit> packet length : 80 (send), 1000 (receive)
kermit> compression : yes [~] (5212)
kermit> block check type used : 3
kermit> elapsed time : 87 sec
kermit> transmission rate : 38400 bps
kermit> effective data rate : 461 cps